<template>
  <div id="es6">
    <Row>
      <Col span="3">      
        <Menu active-name="0" width="auto">
          <MenuItem v-for="(item, index) in list"  :name="index.toString()" :key="index">
            {{ item }}
          </MenuItem>
        </Menu>
      </Col>
      <Col span="21">
        <Demo />
      </Col>
    </Row>
  </div>
</template>

<script>
const { list } = require("../mock/es6/menu.json");
import Demo from "../components/Demo";

export default {
  name: "es6",
  components: { Demo },
  data() {
    return {
      list
    };
  },
  computed: {},
  methods: {}
};
</script>

<style>
.es6 {
}
</style>
